export function useTable() {
    const column = [
        {
            label: '序号',
            prop: 'id',
            width: 80,
        },
        {
            label: '订单号',
            prop: 'orderNo',
        },
        {
            label: '用户名称',
            prop: 'userName',
        },
        {
            label: '手机号',
            prop: 'mobile',
        },
        {
            label: '商户名称',
            prop: 'merchantName',
        },
        {
            label: '产品名称',
            prop: 'productName',
        },
        {
            label: '订单来源',
            prop: 'orderSource',
        },
        {
            label: '订单渠道',
            prop: 'orderChannel',
        },
        {
            label: '订单状态',
            prop: 'orderStatus',
        },
        {
            label: '订单金额',
            prop: 'orderAmount',
        },
        {
            label: '优惠条件',
            prop: 'preferentialConditions',
        },
        {
            label: '实付金额',
            prop: 'actualAmountPaid',
        },
        {
            label: '消耗积分',
            prop: 'pointsConsumption',
        },
        {
            label: '下单时间',
            prop: 'orderTime',
        },
        {
            label: '支付时间',
            prop: 'paymentTime',
        },
        {
            label: '支付渠道',
            prop: 'paymentWay',
        },
        {
            fixed: 'right',
            label: '操作',
            operate: true,
            width: 200,
        },
    ]
    const data = [
        { actualAmountPaid: '18', id: 1, merchantName: 'xx商户', mobile: '13388883333', orderAmount: '23', orderChannel: 'app', orderNo: 'P2023052819200258461871', orderSource: '保障房', orderStatus: '待支付', orderTime: '2018-03-05 12:34:56', paymentTime: '2018-03-05 12:34:56', paymentWay: '微信', pointsConsumption: '0', preferentialConditions: '5元优惠', productName: 'xx商品', userName: 'xx用户' },
        { actualAmountPaid: '18', id: 1, merchantName: 'xx商户', mobile: '13388883333', orderAmount: '23', orderChannel: 'app', orderNo: 'P2023052819200258461871', orderSource: '保障房', orderStatus: '待支付', orderTime: '2018-03-05 12:34:56', paymentTime: '2018-03-05 12:34:56', paymentWay: '微信', pointsConsumption: '0', preferentialConditions: '5元优惠', productName: 'xx商品', userName: 'xx用户' },
        { actualAmountPaid: '18', id: 1, merchantName: 'xx商户', mobile: '13388883333', orderAmount: '23', orderChannel: 'app', orderNo: 'P2023052819200258461871', orderSource: '保障房', orderStatus: '待支付', orderTime: '2018-03-05 12:34:56', paymentTime: '2018-03-05 12:34:56', paymentWay: '微信', pointsConsumption: '0', preferentialConditions: '5元优惠', productName: 'xx商品', userName: 'xx用户' },
    ]
    return { column, data }
}
